Why am I getting a TypeError: 'NoneType' object is not subscriptable when it is suppossed to be inde

welcome to shbcf.ru